package com.bootdo.hjh.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProductDOExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private String sumCol;

    private Integer offset;

    private Integer limit;

    public ProductDOExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        this.sumCol = null;
        this.offset = null;
        this.limit = null;
    }

    public String getSumCol() {
        return this.sumCol;
    }

    public void setSumCol(String sumCol) {
        this.sumCol = sumCol;
    }

    public ProductDOExample sumId() {
        this.sumCol="id";
        return this;
    }

    public ProductDOExample sumName() {
        this.sumCol="NAME";
        return this;
    }

    public ProductDOExample sumPrice() {
        this.sumCol="price";
        return this;
    }

    public ProductDOExample sumMemberDesc() {
        this.sumCol="member_desc";
        return this;
    }

    public ProductDOExample sumMemberLevel() {
        this.sumCol="member_level";
        return this;
    }

    public ProductDOExample sumNewMemberProductPoint() {
        this.sumCol="new_member_product_point";
        return this;
    }

    public ProductDOExample sumFirstRecommendProductPoint() {
        this.sumCol="first_recommend_product_point";
        return this;
    }

    public ProductDOExample sumSecondRecommendProductPoint() {
        this.sumCol="second_recommend_product_point";
        return this;
    }

    public ProductDOExample sumFirstRecommendCashPoint() {
        this.sumCol="first_recommend_cash_point";
        return this;
    }

    public ProductDOExample sumSecondRecommendCashPoint() {
        this.sumCol="second_recommend_cash_point";
        return this;
    }

    public ProductDOExample sumCreateTime() {
        this.sumCol="create_time";
        return this;
    }

    public ProductDOExample sumLastModifyTime() {
        this.sumCol="last_modify_time";
        return this;
    }

    public ProductDOExample sumFirstRecommendRate() {
        this.sumCol="first_recommend_rate";
        return this;
    }

    public ProductDOExample sumSecondRecommendRate() {
        this.sumCol="second_recommend_rate";
        return this;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getLimit() {
        return this.limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public ProductDOExample page(int offset, int limit) {
        this.offset = offset;
        this.limit = limit;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("NAME is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("NAME is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("NAME =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("NAME <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("NAME >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAME >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("NAME <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("NAME <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("NAME like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("NAME not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("NAME in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("NAME not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("NAME between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("NAME not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(Integer value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(Integer value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(Integer value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(Integer value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(Integer value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<Integer> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<Integer> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(Integer value1, Integer value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(Integer value1, Integer value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andMemberDescIsNull() {
            addCriterion("member_desc is null");
            return (Criteria) this;
        }

        public Criteria andMemberDescIsNotNull() {
            addCriterion("member_desc is not null");
            return (Criteria) this;
        }

        public Criteria andMemberDescEqualTo(String value) {
            addCriterion("member_desc =", value, "memberDesc");
            return (Criteria) this;
        }

        public Criteria andMemberDescNotEqualTo(String value) {
            addCriterion("member_desc <>", value, "memberDesc");
            return (Criteria) this;
        }

        public Criteria andMemberDescGreaterThan(String value) {
            addCriterion("member_desc >", value, "memberDesc");
            return (Criteria) this;
        }

        public Criteria andMemberDescGreaterThanOrEqualTo(String value) {
            addCriterion("member_desc >=", value, "memberDesc");
            return (Criteria) this;
        }

        public Criteria andMemberDescLessThan(String value) {
            addCriterion("member_desc <", value, "memberDesc");
            return (Criteria) this;
        }

        public Criteria andMemberDescLessThanOrEqualTo(String value) {
            addCriterion("member_desc <=", value, "memberDesc");
            return (Criteria) this;
        }

        public Criteria andMemberDescLike(String value) {
            addCriterion("member_desc like", value, "memberDesc");
            return (Criteria) this;
        }

        public Criteria andMemberDescNotLike(String value) {
            addCriterion("member_desc not like", value, "memberDesc");
            return (Criteria) this;
        }

        public Criteria andMemberDescIn(List<String> values) {
            addCriterion("member_desc in", values, "memberDesc");
            return (Criteria) this;
        }

        public Criteria andMemberDescNotIn(List<String> values) {
            addCriterion("member_desc not in", values, "memberDesc");
            return (Criteria) this;
        }

        public Criteria andMemberDescBetween(String value1, String value2) {
            addCriterion("member_desc between", value1, value2, "memberDesc");
            return (Criteria) this;
        }

        public Criteria andMemberDescNotBetween(String value1, String value2) {
            addCriterion("member_desc not between", value1, value2, "memberDesc");
            return (Criteria) this;
        }

        public Criteria andMemberLevelIsNull() {
            addCriterion("member_level is null");
            return (Criteria) this;
        }

        public Criteria andMemberLevelIsNotNull() {
            addCriterion("member_level is not null");
            return (Criteria) this;
        }

        public Criteria andMemberLevelEqualTo(Integer value) {
            addCriterion("member_level =", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelNotEqualTo(Integer value) {
            addCriterion("member_level <>", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelGreaterThan(Integer value) {
            addCriterion("member_level >", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("member_level >=", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelLessThan(Integer value) {
            addCriterion("member_level <", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelLessThanOrEqualTo(Integer value) {
            addCriterion("member_level <=", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelIn(List<Integer> values) {
            addCriterion("member_level in", values, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelNotIn(List<Integer> values) {
            addCriterion("member_level not in", values, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelBetween(Integer value1, Integer value2) {
            addCriterion("member_level between", value1, value2, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("member_level not between", value1, value2, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andNewMemberProductPointIsNull() {
            addCriterion("new_member_product_point is null");
            return (Criteria) this;
        }

        public Criteria andNewMemberProductPointIsNotNull() {
            addCriterion("new_member_product_point is not null");
            return (Criteria) this;
        }

        public Criteria andNewMemberProductPointEqualTo(Integer value) {
            addCriterion("new_member_product_point =", value, "newMemberProductPoint");
            return (Criteria) this;
        }

        public Criteria andNewMemberProductPointNotEqualTo(Integer value) {
            addCriterion("new_member_product_point <>", value, "newMemberProductPoint");
            return (Criteria) this;
        }

        public Criteria andNewMemberProductPointGreaterThan(Integer value) {
            addCriterion("new_member_product_point >", value, "newMemberProductPoint");
            return (Criteria) this;
        }

        public Criteria andNewMemberProductPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("new_member_product_point >=", value, "newMemberProductPoint");
            return (Criteria) this;
        }

        public Criteria andNewMemberProductPointLessThan(Integer value) {
            addCriterion("new_member_product_point <", value, "newMemberProductPoint");
            return (Criteria) this;
        }

        public Criteria andNewMemberProductPointLessThanOrEqualTo(Integer value) {
            addCriterion("new_member_product_point <=", value, "newMemberProductPoint");
            return (Criteria) this;
        }

        public Criteria andNewMemberProductPointIn(List<Integer> values) {
            addCriterion("new_member_product_point in", values, "newMemberProductPoint");
            return (Criteria) this;
        }

        public Criteria andNewMemberProductPointNotIn(List<Integer> values) {
            addCriterion("new_member_product_point not in", values, "newMemberProductPoint");
            return (Criteria) this;
        }

        public Criteria andNewMemberProductPointBetween(Integer value1, Integer value2) {
            addCriterion("new_member_product_point between", value1, value2, "newMemberProductPoint");
            return (Criteria) this;
        }

        public Criteria andNewMemberProductPointNotBetween(Integer value1, Integer value2) {
            addCriterion("new_member_product_point not between", value1, value2, "newMemberProductPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendProductPointIsNull() {
            addCriterion("first_recommend_product_point is null");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendProductPointIsNotNull() {
            addCriterion("first_recommend_product_point is not null");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendProductPointEqualTo(Integer value) {
            addCriterion("first_recommend_product_point =", value, "firstRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendProductPointNotEqualTo(Integer value) {
            addCriterion("first_recommend_product_point <>", value, "firstRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendProductPointGreaterThan(Integer value) {
            addCriterion("first_recommend_product_point >", value, "firstRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendProductPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("first_recommend_product_point >=", value, "firstRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendProductPointLessThan(Integer value) {
            addCriterion("first_recommend_product_point <", value, "firstRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendProductPointLessThanOrEqualTo(Integer value) {
            addCriterion("first_recommend_product_point <=", value, "firstRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendProductPointIn(List<Integer> values) {
            addCriterion("first_recommend_product_point in", values, "firstRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendProductPointNotIn(List<Integer> values) {
            addCriterion("first_recommend_product_point not in", values, "firstRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendProductPointBetween(Integer value1, Integer value2) {
            addCriterion("first_recommend_product_point between", value1, value2, "firstRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendProductPointNotBetween(Integer value1, Integer value2) {
            addCriterion("first_recommend_product_point not between", value1, value2, "firstRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendProductPointIsNull() {
            addCriterion("second_recommend_product_point is null");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendProductPointIsNotNull() {
            addCriterion("second_recommend_product_point is not null");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendProductPointEqualTo(Integer value) {
            addCriterion("second_recommend_product_point =", value, "secondRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendProductPointNotEqualTo(Integer value) {
            addCriterion("second_recommend_product_point <>", value, "secondRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendProductPointGreaterThan(Integer value) {
            addCriterion("second_recommend_product_point >", value, "secondRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendProductPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("second_recommend_product_point >=", value, "secondRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendProductPointLessThan(Integer value) {
            addCriterion("second_recommend_product_point <", value, "secondRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendProductPointLessThanOrEqualTo(Integer value) {
            addCriterion("second_recommend_product_point <=", value, "secondRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendProductPointIn(List<Integer> values) {
            addCriterion("second_recommend_product_point in", values, "secondRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendProductPointNotIn(List<Integer> values) {
            addCriterion("second_recommend_product_point not in", values, "secondRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendProductPointBetween(Integer value1, Integer value2) {
            addCriterion("second_recommend_product_point between", value1, value2, "secondRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendProductPointNotBetween(Integer value1, Integer value2) {
            addCriterion("second_recommend_product_point not between", value1, value2, "secondRecommendProductPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendCashPointIsNull() {
            addCriterion("first_recommend_cash_point is null");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendCashPointIsNotNull() {
            addCriterion("first_recommend_cash_point is not null");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendCashPointEqualTo(Integer value) {
            addCriterion("first_recommend_cash_point =", value, "firstRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendCashPointNotEqualTo(Integer value) {
            addCriterion("first_recommend_cash_point <>", value, "firstRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendCashPointGreaterThan(Integer value) {
            addCriterion("first_recommend_cash_point >", value, "firstRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendCashPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("first_recommend_cash_point >=", value, "firstRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendCashPointLessThan(Integer value) {
            addCriterion("first_recommend_cash_point <", value, "firstRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendCashPointLessThanOrEqualTo(Integer value) {
            addCriterion("first_recommend_cash_point <=", value, "firstRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendCashPointIn(List<Integer> values) {
            addCriterion("first_recommend_cash_point in", values, "firstRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendCashPointNotIn(List<Integer> values) {
            addCriterion("first_recommend_cash_point not in", values, "firstRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendCashPointBetween(Integer value1, Integer value2) {
            addCriterion("first_recommend_cash_point between", value1, value2, "firstRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendCashPointNotBetween(Integer value1, Integer value2) {
            addCriterion("first_recommend_cash_point not between", value1, value2, "firstRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendCashPointIsNull() {
            addCriterion("second_recommend_cash_point is null");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendCashPointIsNotNull() {
            addCriterion("second_recommend_cash_point is not null");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendCashPointEqualTo(Integer value) {
            addCriterion("second_recommend_cash_point =", value, "secondRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendCashPointNotEqualTo(Integer value) {
            addCriterion("second_recommend_cash_point <>", value, "secondRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendCashPointGreaterThan(Integer value) {
            addCriterion("second_recommend_cash_point >", value, "secondRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendCashPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("second_recommend_cash_point >=", value, "secondRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendCashPointLessThan(Integer value) {
            addCriterion("second_recommend_cash_point <", value, "secondRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendCashPointLessThanOrEqualTo(Integer value) {
            addCriterion("second_recommend_cash_point <=", value, "secondRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendCashPointIn(List<Integer> values) {
            addCriterion("second_recommend_cash_point in", values, "secondRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendCashPointNotIn(List<Integer> values) {
            addCriterion("second_recommend_cash_point not in", values, "secondRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendCashPointBetween(Integer value1, Integer value2) {
            addCriterion("second_recommend_cash_point between", value1, value2, "secondRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendCashPointNotBetween(Integer value1, Integer value2) {
            addCriterion("second_recommend_cash_point not between", value1, value2, "secondRecommendCashPoint");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeIsNull() {
            addCriterion("last_modify_time is null");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeIsNotNull() {
            addCriterion("last_modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeEqualTo(Date value) {
            addCriterion("last_modify_time =", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeNotEqualTo(Date value) {
            addCriterion("last_modify_time <>", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeGreaterThan(Date value) {
            addCriterion("last_modify_time >", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_modify_time >=", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeLessThan(Date value) {
            addCriterion("last_modify_time <", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_modify_time <=", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeIn(List<Date> values) {
            addCriterion("last_modify_time in", values, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeNotIn(List<Date> values) {
            addCriterion("last_modify_time not in", values, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeBetween(Date value1, Date value2) {
            addCriterion("last_modify_time between", value1, value2, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_modify_time not between", value1, value2, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendRateIsNull() {
            addCriterion("first_recommend_rate is null");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendRateIsNotNull() {
            addCriterion("first_recommend_rate is not null");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendRateEqualTo(BigDecimal value) {
            addCriterion("first_recommend_rate =", value, "firstRecommendRate");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendRateNotEqualTo(BigDecimal value) {
            addCriterion("first_recommend_rate <>", value, "firstRecommendRate");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendRateGreaterThan(BigDecimal value) {
            addCriterion("first_recommend_rate >", value, "firstRecommendRate");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("first_recommend_rate >=", value, "firstRecommendRate");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendRateLessThan(BigDecimal value) {
            addCriterion("first_recommend_rate <", value, "firstRecommendRate");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("first_recommend_rate <=", value, "firstRecommendRate");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendRateIn(List<BigDecimal> values) {
            addCriterion("first_recommend_rate in", values, "firstRecommendRate");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendRateNotIn(List<BigDecimal> values) {
            addCriterion("first_recommend_rate not in", values, "firstRecommendRate");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("first_recommend_rate between", value1, value2, "firstRecommendRate");
            return (Criteria) this;
        }

        public Criteria andFirstRecommendRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("first_recommend_rate not between", value1, value2, "firstRecommendRate");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendRateIsNull() {
            addCriterion("second_recommend_rate is null");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendRateIsNotNull() {
            addCriterion("second_recommend_rate is not null");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendRateEqualTo(BigDecimal value) {
            addCriterion("second_recommend_rate =", value, "secondRecommendRate");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendRateNotEqualTo(BigDecimal value) {
            addCriterion("second_recommend_rate <>", value, "secondRecommendRate");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendRateGreaterThan(BigDecimal value) {
            addCriterion("second_recommend_rate >", value, "secondRecommendRate");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("second_recommend_rate >=", value, "secondRecommendRate");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendRateLessThan(BigDecimal value) {
            addCriterion("second_recommend_rate <", value, "secondRecommendRate");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("second_recommend_rate <=", value, "secondRecommendRate");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendRateIn(List<BigDecimal> values) {
            addCriterion("second_recommend_rate in", values, "secondRecommendRate");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendRateNotIn(List<BigDecimal> values) {
            addCriterion("second_recommend_rate not in", values, "secondRecommendRate");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("second_recommend_rate between", value1, value2, "secondRecommendRate");
            return (Criteria) this;
        }

        public Criteria andSecondRecommendRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("second_recommend_rate not between", value1, value2, "secondRecommendRate");
            return (Criteria) this;
        }

        public Criteria addConditionSql(String conditionSql) {
            addCriterion(conditionSql);
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}